package com.moon.interview.model.dto.question;

import com.moon.interview.common.RequestParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "题目查询请求参数")
public class QuestionQueryRequest extends RequestParam {

    /** 标题 */
    @Schema(name = "textSearch", description = "搜索文本")
    private String textSearch;

    /** 标签 */
    @Schema(name = "tagList", description = "标签")
    private List<String> tagList;

    /** 作者Id */
    @Schema(name = "userId", description = "作者Id")
    private Long userId;

    /** 题库Id */
    @Schema(name = "bankId", description = "题库Id， 特殊值:-1 查询所有题目信息  0 查询没有添加题库的题目")
    private Long bankId;
}
